package com.handyshop.mall.auth;

import com.handyshop.mall.auth.annotation.EnableRedisOauth2;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 启动类
 *
 * @author hanshuai
 */
@EnableRedisOauth2
//@EnableJwtOauth2
@EnableDiscoveryClient
@SpringBootApplication(scanBasePackages = {"com.handyshop.mall"})
public class MallAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(MallAuthApplication.class, args);
    }

}
